package com.zp.base.entity.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.zp.common.excel.annotation.ExcelDictFormat;
import com.zp.common.excel.convert.ExcelDictConvert;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;


/**
 * 执行频次视图对象
 *
 * @author zhang peng
 * @date 2022-12-28
 */
@Data
@ExcelIgnoreUnannotated
@NoArgsConstructor
public class PerformFreqDictVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 执行频次主键
     */
    @ExcelProperty(value = "执行频次主键")
    private String freqId;

    /**
     * 执行频率描述
     */
    @ExcelProperty(value = "执行频率描述")
    private String freqDesc;

    /**
     * 频率次数
     */
    @ExcelProperty(value = "频率次数")
    private BigDecimal freqCounter;

    /**
     * 显示顺序
     */
    @ExcelProperty(value = "显示顺序")
    private Long roleSort;

    /**
     * 频次间隔
     */
    @ExcelProperty(value = "频次间隔")
    private BigDecimal freqInterval;

    /**
     * 频次单位
     */
    @ExcelProperty(value = "频次单位")
    private String freqIntervalUnit;

    /**
     * 执行时间
     */
    @ExcelProperty(value = "执行时间")
    private String performTime;

    /**
     * 0:长期医嘱 1:临时医嘱
     */
    @ExcelProperty(value = "医嘱类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "order_type")
    private String dictType;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

    private Long showSort;


}
